/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.trade;

import com.enation.app.javashop.client.trade.RechargeClient;
import com.enation.app.javashop.core.client.fallback.trade.RechargeClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import com.enation.app.javashop.framework.database.WebPage;
import com.enation.app.javashop.model.member.dto.DepositeParamDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
*
* @description: 预存款充值客户端
* @author: liuyulei
* @create: 2020/1/2 16:41
* @version:1.0
* @since:7.1.5
**/
@FeignClient(name = "trade-service", fallbackFactory = RechargeClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface RechargeClientFeignImpl extends RechargeClient {

    /**
     * 查询充值记录列表
     * @param paramDTO 搜索参数
     * @return Page
     */
    @Override
    @RequestMapping(value = "/client/trade/recharge",method = RequestMethod.POST)
    WebPage list(@RequestBody DepositeParamDTO paramDTO);
}
